//
//  CommentTableViewCell.m
//  MyMovie
//
//  Created by apple on 16/5/22.
//  Copyright © 2016年 ljp. All rights reserved.
//

#import "CommentTableViewCell.h"

@implementation CommentTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setComment:(Comment *)comment {

    NSURL *url = [NSURL URLWithString:comment.userImage];
    [_userImageView sd_setImageWithURL:url];
    _userNameLable.text = comment.userName;
    _ratingLable.text = comment.rating;
    _userCommentLable.text = comment.content;
}


@end
